package com.jews.mongodb.support;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.data.repository.NoRepositoryBean;

/**
 * Repository 基类
 *
 * @param <T>  Entity对象
 * @param <ID> 主键
 * @author 98593
 */
@NoRepositoryBean       //告诉SpringData不要创建对应接口的bean对象
public interface BaseRepository<T, ID> extends MongoRepository<T, ID>, QuerydslPredicateExecutor<T> {
}